<?python
    from turbogears import identity
    from mnemoply import model
    from mnemoply.utils import date2str_points
?>
<span xmlns:py="http://genshi.edgewall.org/">
    <table>
        <thead>
            <tr>
                <th>Number box of collection</th>
                <th>Date of begin</th>
                <th>Date of collection</th>
                <th>Bond 10</th>
                <th>Bond 50</th>
                <th>Bond 100</th>
                <th>Bond 500</th>
                <th>Bond 1000</th>
                <th>Bond 5000</th>
            </tr>
        </thead>

        <tbody>
            <tr py:for="br in model.BondRecord.selectBy(register=obj)">
                <td>${br.numBoxOfCollection}</td>
                <td>${date2str_points(br.dateOfBegin)}</td>
                <td>${date2str_points(br.dateOfCollection)}</td>
                <td>${br.bond10}</td>
                <td>${br.bond50}</td>
                <td>${br.bond100}</td>
                <td>${br.bond500}</td>
                <td>${br.bond1000}</td>
                <td>${br.bond5000}</td>
            </tr>
        </tbody>
    </table>
</span>
